﻿using gptDataType.Interface;
using gptDataType.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace gptDataType.Type.time
{
    /// <summary>
    /// 32 位,TOD#0:0:0.0 到 TOD#23:59:59.999
    /// </summary>
    public class PlcToD : PlcMemberBase
    {
        private TimeSpan _value;
        public PlcToD(string name, TimeSpan value)
       : base(name, DataType.TOD, sizeInBits: 16)
        {
            _value = value;
        }
    }
}
